package com.zjdiepu.www.model.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.zjdiepu.www.base.core.BaseModel;

/**
 * 数据字典<br/>
 * @author xiongxiaotun<br/>
 * @time 2017年04月06日 16时04分<br/>
 * @since 1.0<br/>
 */
@ApiModel(value="DpBaseDataDictionary", description="用于各类枚举值保存", parent = BaseModel.class)
public class DpBaseDataDictionary extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 上级字典ID
	 */
	@ApiModelProperty(name="parentId",required=false,value="上级字典ID",example="上级字典ID")
	private String parentId;

	/**
	 * 上级字典值
	 */
	@ApiModelProperty(name="parentValue",required=false,value="上级字典值",example="上级字典值")
	private String parentValue;
	
	/**
	 * 名称
	 */
	@ApiModelProperty(name="name",required=false,value="名称", example="名称")
	private String name;
	
	/**
	 * 值
	 */
	@ApiModelProperty(name="value",required=false,value="值", example="值")
	private String value;
	
	/**
	 * 附加值1
	 */
	@ApiModelProperty(name="addedValue1",required=false,value="附加值1", example="附加值1")
	private String addedValue1;
	
	/**
	 * 附加值2
	 */
	@ApiModelProperty(name="addedValue2",required=false,value="附加值2", example="附加值2")
	private String addedValue2;
	
	
	public String getParentValue() {
		return parentValue;
	}

	public void setParentValue(String parentValue) {
		this.parentValue = parentValue;
	}

	public String getParentId(){
		return this.parentId;
	}
	
	public void setParentId(String parentId){
		this.parentId = parentId;
	}

	public String getName(){
		return this.name;
	}
	
	public void setName(String name){
		this.name = name;
	}

	public String getValue(){
		return this.value;
	}
	
	public void setValue(String value){
		this.value = value;
	}

	public String getAddedValue1(){
		return this.addedValue1;
	}
	
	public void setAddedValue1(String addedValue1){
		this.addedValue1 = addedValue1;
	}

	public String getAddedValue2(){
		return this.addedValue2;
	}
	
	public void setAddedValue2(String addedValue2){
		this.addedValue2 = addedValue2;
	}

	@Override
	public String toString() {
		return super.toString() + "DpBaseDataDictionary [parentId = " + parentId + ", name = " + name + ", value = " + value + ", addedValue1 = " + addedValue1 + ", addedValue2 = " + addedValue2 + "]";
	}
    
}